BaseSubsystem.GetBoolVariable 方法
取得使用者定义变数的细节(bool)。
命名空间:IntervalZero.KINGSTAR.Base.Class组合: IntervalZero.KINGSTAR.Base.Class (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
语法
IUserVariable<bool> GetBoolVariable(
string Name,
IUserVariable Parent = null
)
Function GetBoolVariable(
Name As String,
Parent = null As IUserVariable
) As IUserVariable(Of Boolean)
参数
Name
型别:string
变数名称。
Parent
预设值:null
IUserVariable 的父资料夹,预设会从根资料夹取得变数。
备注
- Name 字串使用 UTF-16 编码。
- 此变数可用于 KINGSTAR 示波器 及即时记录档。
回传值
型别:IUserVariable<bool>
回传一个使用者定义变数(bool)。
可用的 EtherCAT 状态
ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP
参见